<link rel="stylesheet" href="css/caseBarSchedule.css">
<style type="text/css">
	h2{font-size:25px}
	/*.modal-backdrop{display:none}*/
  /*字体*/
  @font-face {
    font-family: "iconfont";
    src: url('../../css/iconFont/iconfont.eot'); /* IE9*/
    src: url('../../css/iconFont/iconfont.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../../css/iconFont/iconfont.woff') format('woff'), /* chrome, firefox */
    url('../../css/iconFont/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
    url('../../css/iconFont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
  }

  .iconfont {
    font-family:"iconfont" !important;
    font-size:14px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
  }
</style>
<!--团队-->

<div class="wrap" style="background: #f5f5f5;position: relative;top: 7px;">
  <div class="y-team" style="position: absolute;top: 10px;">
    <!--top-->
    <div class="y-nav clearfix" style="position: relative;margin-left: 20px">
      <h3 class="fl manage" style="margin-top: 10px"><a href="javascript:;">团队管理</a></h3>
      <ul class="fl leaguer">
        <li class="fl active"  ng-click="getTeamMember(0,leftActive)" ng-class="{'active':tabShow==0}"><a href="javascript:;" ng-show="awMemLen||leftTeam.length"><span >成员</span></a></li><!--ng-show="lawMemLen"-->
        <li class="fl"  ng-click="getTeamMember(1,leftActive)"  ng-class="{'active':tabShow==1}" ng-hide="leftActive == leftLow.lawfirmid"><a href="javascript:;">案件</a></li>
        <li class="fl"  ng-click="getTeamMember(2,leftActive)"  ng-class="{'active':tabShow==2, 'hide': true}" ng-hide="leftActive == leftLow.lawfirmid"><a href="javascript:;">日程</a></li>
        <li class="fl"  ng-click="getTeamMember(3,leftActive)"  ng-class="{'active':tabShow==3}" ng-hide="leftActive == leftLow.lawfirmid"><a href="javascript:;">设置</a></li>
      </ul>

      <a class="fr request" data-toggle="modal" data-target="#myModalInvitation" ng-click="showInvit()" ng-show="leftTeam.length" ng-hide="leftActive == leftLow.lawfirmid">邀请同事</a>

    </div>

    <!--团队管理-->
    <div class="y-content-box clearfix" style="margin-top: 10px; position: relative; margin-left:20px ">

      <ul class="y-content2-lawyer fl wt-scroll" style="height:100%;background: #fff;">
        <li   ng-click="leftLow.authState==2?getFirm(leftLow.lawfirmid,1):''" ng-class="{'active':leftActive == leftLow.lawfirmid}" class="teamTitel" ng-show="false">
          <p  class="borderBg paddingB">
            <i class="icon iconfont" style="font-size: 24px;margin-left:20px;">&#xe6ad;</i>
            <span>我的律所</span>
          </p>
          <p class="paddingB lineH clearfix" ng-show="leftLow.authState==2">
            <span class="fl" style="width:40px">{{lawMemLen}}</span>
            <span><a>{{leftLow.lawfirmname}}</a></span>
          </p>
          <div class="d-lawyer-nu clearfix" ng-show="leftLow.authState!=2">
            <img src="img/d_empty_lock.svg" alt="">
            <p> 您未进行<span ui-sref="setting">实名认证</span> 暂时无法开启此功能</p>
          </div>
        </li>

        <li class="kongTeam" ng-show="false"></li>

        <!--<li ng-click="getFirm(leftLow.lawfirmid,1)" ng-class="{'active':leftActive == leftLow.lawfirmid}" class="teamTitel">-->
        <li class="teamTitel">
          <div>
            <p  class="borderBg paddingB clearfix">
              <i class="icon iconfont" style="font-size: 24px;margin-left:20px;">&#xe6ae;</i>
              <span >我的团队</span>
            </p>
          </div>
        </li>
        <li class="teamList" ng-repeat="(index,item) in leftTeam" ng-click="getTeamMember(tabShow,item.id,1,index)" ng-class="{'active':leftActive == item.id}" ng-mouseover="iconMenu=true" ng-mouseleave="iconMenu=false">
          <span class="teamListBor" ng-class="{'teamListBorS':item.id==teamId}"></span>
          <div class="row borderBg paddingB borderCg" >
            <div class="commonRow">
              {{item.teamname}}（{{item.memberSize}}）
            </div>
            <!--<div class="commonRow">
              {{item.teamname}}
            </div>
            <div class=" text-left" style="padding-left:0; padding-right:0">
              {{item.memberSize}}
            </div>-->
            <!--<div data-toggle="dropdown" aria-haspopup="true" style="cursor: pointer;position: absolute;right: 15px;" aria-expanded="false" ng-show="iconMenu">-->
              <!--<span style="border: 1px #0DB3A6 solid; color:#0DB3A6; border-radius: 100%; padding: 0px 4px; font-size:10px; height: 10px; width: 10px;"  >-->
                <!--<i class="fa fa-caret-down" aria-hidden="true"></i>-->
              <!--</span>-->
               <!--<div class="editStagePer dropdown"  role="menu"  aria-labelledby="perDLabel" style="right:-17px; top:31px; z-index:999">-->
                  <!--<div class="toggleMenuTitle tc" style="border-bottom: 1px solid #DBD6CD;font-size: 16px">功能菜单-->
                    <!--<span class="pull-right" style="padding-left:10px"><i class="icon iconfont" ng-click="removeBox($event)">X</i></span>-->
                  <!--</div>-->
                  <!--<p class="stageRename" ng-click="showEditTeam($index,item)">-->
                    <!--<span><i class="icon iconfont">&#xe670;</i></span>编辑</p>-->
                  <!--<p class="stageRename" data-toggle="modal" data-target="#editAccountIncomMyModal" ng-click="teamRemove($index,item)">-->
                    <!--<span><i class="icon iconfont">&#xe623;</i></span>删除</p>-->
              <!--</div>-->
            <!--</div>-->

          </div>
        </li>
      </ul>

      <div class=" fl createBox">
        <div class="createInput"  ng-if="showeditteam" id="showed">
          <input type="hidden" ng-model="item.id">
          <input maxlength="50" type="text" placeholder="输入团队名称" class="txtInput" ng-model="team.teamName">
          <textarea maxlength="200"  placeholder="团队描述（可选）"  ng-model="team.teamDescription"></textarea>
          <div class="clearfix" style="padding:8px 0" >
            <button class="fl canc" ng-click="closeTeam()">取消</button>
            <button class="comf fr" ng-click="editTeam(team)">确定</button>
          </div>
        </div>

        <div class="text-center" data-toggle="modal" data-target="#myModalTeam"  ng-show="isShowCreate" id="showCre" ng-click="createT()">
          <a href="javascript:;" >
            <i class="icon iconfont" style="color: #0DB3A6">&#xe63f;</i>
            <span>创建团队</span>
          </a>
        </div>


      </div>

      <!--律所-->
      <div class="g-auto wt-scroll" ng-show="leftActive == leftLow.lawfirmid">
        <!--没有律所-->
        <div ng-show="!lawMemLen"  class="y-content2-box">
          <div id="teamNotOpen">
            <p></p>
            <div>
              <p style="text-align: center;font-size: 14px;color: #9C9C9C;"> 请点击左下角创建团队。</p>
            </div>
          </div>
        </div>
        <!--成员-->
        <div ng-if="tabShow==0" ng-show="lawMemLen" class="y-content2-box  wt-scroll clearfix fl">
          <div class="y-content2-table   fl">
           <!-- <ul class="gTeamList">
              <li style="border-bottom: 1px solid #f2f2f2;">
                <span class="y-content2-XM">姓名</span>
                <span>手机号</span>
                <span>电子邮箱</span>
                &lt;!&ndash;<span>擅长领域</span>&ndash;&gt;
                <span>状态</span>
              </li>
              <li ng-repeat="item in lawList">

              <span class="y-content2-shuju">
                <img width="27" height="27" src="{{item.iconUrl}}" ng-src="{{item.iconUrl}}" alt="" ng-if="item.iconUrl!=null">
                {{item.username| limitTo:14}}
                <span ng-if="item.iconUrl ==null" style="width: 26px;height: 26px;  background: #00bfb5; text-align: center; line-height: 26px; border-radius: 50%; color: #fff;">
                  {{item.email | limitTo:3}}
                </span>
              </span>

                <span>{{item.cellphone}}</span>
                <span>{{item.email}}</span>
                &lt;!&ndash;<span>刑事案件</span>&ndash;&gt;
                <span>{{lawPerType(1)}}</span>

              </li>
            </ul>-->
            <table class="table" >
              <thead class="tHeadL">
              <tr>
                <th class="col-md-1"></th>
                <th class="col-md-2">姓名</th>
                <th>手机号</th>
                <th>电子邮箱</th>
                <th>状态</th>
              </tr>
              </thead>
              <tbody class="tBodyL">
              <tr ng-repeat="item in lawList track by $index">
                <td class="col-md-1">
                  <img width="27" height="27" src="{{item.iconUrl}}" ng-src="{{item.iconUrl}}" alt="" ng-if="item.iconUrl!=null">
                  <span ng-if="item.iconUrl ==null" style="width: 26px;height: 26px; display:inline-block; background: #00bfb5; text-align: center; line-height: 26px; border-radius: 50%; color: #fff;">
                  {{item.email | limitTo:3}}
                </span>
                </td>
                <td class="col-md-2">
                {{item.username| limitTo:14}}
                </td>
                <td>{{item.cellphone}}</td>
                <td>{{item.email}}</td>
                <td>{{lawPerType(1)}}</td>
              </tr>
              </tbody>
            </table>



            <!--下边有分页记得添加-->
            <div class="pagingBox" ng-show="pageSetting.totalItems > 10">
              <div class="clearfix">
                <div class="ssqPagingSimple">
                  <ul uib-pagination total-items="pageSetting.totalItems" ng-model="pageSetting.pageNo"max-size="8" items-per-page="pageSetting.pageSize" class="pagination-sm" boundary-link-numbers="true" ng-change="selectZiRanRenInfo()"  previous-text="上一页" next-text="下一页"></ul>
                </div>
              </div>

            </div>
          </div>
        </div>
        <!--案件-->
        <div  ng-show="tabShow==1" class="y-content3-box wt-scroll clearfix fl">
          <div class="y-content3-case fl">
            <div class="y-case-top clearfix">
              <span class="y-search fl">共{{pageSetting4.totalItems}}个案件</span>
              <span class="y-search2 fl" ng-click="searchLawShow = true" ng-hide="searchLawShow"></span>
              <input maxlength="50" type="text" class="g-search" placeholder="请输入内容，enter键搜索" ng-show="searchLawShow" ng-model="caseLawName" ng-enter="searchLawCaseList()">
              <!--<span class="y-two fr">2</span>
              <span class="y-two-img fr"></span>
              <span class="y-nine fr">199</span>
              <span class="y-nine-img fr"></span>
              <span class="y-int fr">200</span>
              <span class="y-int-img fr"></span>-->
            </div>
            <ul class="y-case-list gTeamList">
              <li class="clearfix">
                <span class="y-case-list-left fl">案件名称</span>
                <span class="fl">任务</span>
                <span class="fl">创建时间</span>
                <span class="fl">结束时间</span>
                <span class="fl">操作</span>
              </li>

              <li class="clearfix" ng-repeat="item in castLawList">
              <span class="y-case-list-left2 fl">
                  <div class="fl" style="">

                  </div>
                  <div class="fl" >
                    <strong class="y-name" style="margin-left:52px;">{{item.casename}}</strong>
                    <!--<b class="y-city">广东事务所</b>-->
                  </div>
              </span>
                <span class="fl"><i style="color:#0db3a6;">{{item.done}}</i>/{{item.alltask}}</span>
                <span class="fl">{{item.createdate|date:'yyyy/MM/dd'}}</span>
                <span class="fl">{{item.status == 7 ? (modifieddate | date:'yyyy-MM-dd') : '进行中'}}</span>
                <span class="y-look-details fl"><a href="javascript:;" ng-click="setCookieId(item)" >查看详情</a></span>
              </li>
            </ul>

            <!--下边有分页记得添加-->
            <div class="pagingBox" ng-show="pageSetting4.totalItems > 10">
              <div class="ssqPagingSimple">
                <ul uib-pagination total-items="pageSetting4.totalItems" ng-model="pageSetting4.pageNo" items-per-page="pageSetting4.pageSize" class="pagination-sm" boundary-link-numbers="true" ng-change="lawCaseList()" max-size="8" previous-text="上一页" next-text="下一页" ></ul>
              </div>
            </div>
          </div>

        </div>

        <!--<div ng-show="tabShow==2" class="y-content4-box wt-scroll clearfix fl">-->
        <!--&lt;!&ndash;律所日程&ndash;&gt;-->
        <!--&lt;!&ndash;左&ndash;&gt;-->
        <!--<div class="row L_ScheduleLeft" style="margin-left: 0px;margin-right: 0px;background: #FFFFFF;display: block;width: 80%">-->
        <!--&lt;!&ndash;style="margin-left:80px;margin-top:20px;"&ndash;&gt;-->
        <!--<div class="col-sm-12" style="margin-top: 10px;position: relative;background: #FFFFFF;padding-bottom:10px">-->
        <!--&lt;!&ndash;<div class="space"></div>&ndash;&gt;-->
        <!--&lt;!&ndash; #section:plugins/data-time.calendar &ndash;&gt;-->
        <!--<div id="calendar" class="mycalendar" style="float: left"></div>-->
        <!--&lt;!&ndash; /section:plugins/data-time.calendar &ndash;&gt;-->
        <!--</div>-->

        <!--&lt;!&ndash; 新建模块 &ndash;&gt;-->
        <!--<div class="modal fade" id="calendar-new" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"-->
        <!--aria-hidden="true">-->
        <!--<div class="modal-dialog">-->
        <!--<div class="modal-content">-->
        <!--<div class="modal-header">-->
        <!--<button type="button" class="close" data-dismiss="modal" aria-hidden="true">-->

        <!--</button>-->
        <!--<h4 class="modal-title" id="myModalLabel" style="text-align:center">-->
        <!--新建日程-->
        <!--</h4>-->
        <!--</div>-->
        <!--<div class="modal-body" style="z-index: 10">-->
        <!--<textarea  class="form-control" id="input_text1" placeholder="请输入日程内容" aria-describedby="basic-addon1" maxlength="70" style="width: 560px;height: 60px">-->

        <!--</textarea>-->
        <!--<div id="textcontent">-->
        <!--<img src="../../img/errorHint.png" alt="" id="textcontent2">-->
        <!--<span style="color: red">内容不能为空</span>-->
        <!--</div>-->
        <!--<div style="float: right;margin-top: 5px;margin-right: 10px">-->
        <!--<span id="my-count">0</span><span> /70</span>-->
        <!--</div>-->

        <!--<div style="margin-top: 20px">-->
        <!--<form class="form-inline">-->
        <!--<span>时间</span>-->
        <!--<input id="calendar-details-new" type="text" readonly class="form_datetime form-control calendar-date-style" ng-model="inputDate" value="formatDate" style="margin-top: 10px"/>-->
        <!--</form>-->
        <!--</div>-->
        <!--<div style="margin-top: 20px">-->
        <!--<span>颜色</span>-->
        <!--<button id="task-red" class="btn btn-link btn-xs"-->
        <!--style="margin-left: 20px; width: 20px;height: 20px;background-color: red"></button>-->
        <!--<button id="task-purple" class="btn btn-link btn-xs"-->
        <!--style="width: 20px;height: 20px;background-color: purple"></button>-->
        <!--<button id="task-blue" class="btn btn-primary btn-xs"-->
        <!--style="width: 20px;height: 20px;"></button>-->
        <!--<button id="task-green" class="btn btn-success btn-xs"-->
        <!--style="width: 20px;height: 20px;"></button>-->

        <!--</div>-->
        <!--&lt;!&ndash;<div style="margin-top: 20px;height: 40px">&ndash;&gt;-->
        <!--&lt;!&ndash;<span class="pull-left" style="margin-top: 10px">参与人</span>&ndash;&gt;-->

        <!--&lt;!&ndash;<div class="pull-left" style="display: block; position: absolute;margin-left: 53px;">&ndash;&gt;-->
        <!--&lt;!&ndash;<img class="pull-left img-circle" ng-src="{{userPortrait}}"&ndash;&gt;-->
        <!--&lt;!&ndash;style="width: 40px;height: 40px">&ndash;&gt;-->
        <!--&lt;!&ndash;<span style="position: absolute;top: 10px;left: 5px">{{settingusertext}}</span>&ndash;&gt;-->
        <!--&lt;!&ndash;</div>&ndash;&gt;-->

        <!--&lt;!&ndash;<div class="add-join-per-p pull-left" style="width: 40px;height: 40px;&ndash;&gt;-->
        <!--&lt;!&ndash;margin-left: 55px;margin-top: 0px">&ndash;&gt;-->
        <!--&lt;!&ndash;<i class="fa fa-fw fa-plus"></i>&ndash;&gt;-->
        <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--<div style="margin-top: 40px;height: 40px">-->
        <!--<span class="pull-left" style="margin-top: 10px">参与人</span>-->

        <!--<div class='join-per pull-left'>-->
        <!--<div class='join-per-p-my' style='background-color: rgb(66,183,159);color:#fff;position:-->
        <!--relative;'>-->
        <!--&lt;!&ndash;<img src="img/lawyer-close-calendar.png" class='Add-close-cy'&ndash;&gt;-->
        <!--&lt;!&ndash;style='position: relative;margin-left: 48px;'&ndash;&gt;-->
        <!--&lt;!&ndash;ng-click="CaseLawyerDel(x.id)"/>&ndash;&gt;-->
        <!--<span style='margin-top: 5px;'>{{userPortraitName}}</span>-->
        <!--</div>-->
        <!--</div>-->

        <!--<div class='join-per pull-left' ng-repeat="userCy in cyList">-->
        <!--<div class='join-per-p' style='background-color: rgb(66,183,159);color:#fff;position:-->
        <!--relative;'>-->
        <!--&lt;!&ndash;<img src="img/lawyer-close-calendar.png" class='Add-close-cy'&ndash;&gt;-->
        <!--&lt;!&ndash;style='position: relative;margin-left: 48px;'&ndash;&gt;-->
        <!--&lt;!&ndash;ng-click="CaseLawyerDel(x.id)"/>&ndash;&gt;-->
        <!--<img style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"-->
        <!--src="../../img/lawyer-close.png" ng-click="delCanyu(userCy.userId)">-->
        <!--<span style='margin-top: 5px;'>{{userCy.userName}}</span>-->
        <!--</div>-->
        <!--</div>-->

        <!--<div style="float: left;">-->
        <!--<div class="join-per pull-left LawyerAdd" style="position: relative;">-->
        <!--<div class="join-per-p"><i class="fa fa-fw fa-plus"></i></div>-->

        <!--<div class="LawyerAddBody3 hide" style="min-height: 60px">-->
        <!--<i class="arrowicon"></i>-->
        <!--<span class="Add-close"></span>-->
        <!--<h5>添加参与人员</h5>-->
        <!--<ul class="LawyerList clearfix">-->
        <!--<li class="active"><a>直接添加</a></li>-->
        <!--&lt;!&ndash;<li class=""><a>邀请参与</a></li>&ndash;&gt;-->
        <!--</ul>-->
        <!--<div class="LawyerDiv">-->
        <!--&lt;!&ndash;直接添加&ndash;&gt;-->
        <!--<div class="Lawyerbox ">-->
        <!--<input ng-model="cellphone" id="addCanyuInput"-->
        <!--class="form-control" placeholder="请输入邮箱、手机号添加联系人"/>-->
        <!--<ul style="overflow-y:scroll;display: none;" class="LawyerboxUl">-->
        <!--<li>-->
        <!--<div style="margin-top: 5px"-->
        <!--ng-repeat="caseUser in CaseLawyerTianSelect.data">-->
        <!--<span class="LawyerboxUlS" style="display: inline-block">{{caseUser.username}}</span>-->
        <!--<button class="LawyerboxUlbutton"-->
        <!--ng-click="CanYuTianButton(caseUser.username,caseUser.id)">-->
        <!--添加-->
        <!--</button>-->
        <!--</div>-->
        <!--</li>-->
        <!--</ul>-->
        <!--<span id="error-add-text" style="display: none">未搜索到结果</span>-->
        <!--</div>-->
        <!--&lt;!&ndash;邀请参与&ndash;&gt;-->
        <!--<div class="Lawyerbox hide">-->
        <!--<input class="form-control" placeholder="请输入人员姓名"/>-->
        <!--<div class="eplAddDivBtn">-->
        <!--<button>保存</button>-->
        <!--<a>取消</a>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--<div class="modal-footer" style="text-align:center">-->
        <!--<button type="button" class="btn btn-success" id="button_text1">-->
        <!--保存-->
        <!--</button>-->
        <!--<button type="button" class="btn btn-default" data-dismiss="modal">取消-->
        <!--</button>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--&lt;!&ndash;右&ndash;&gt;-->
        <!--<div class="L_ScheduleRight" style="width: 19%; height: 100%; padding-bottom: 20px;">-->
        <!--<div class="y-calendar-right fr" style="width:100%">-->
        <!--<div class="y-cal-text pt15">-->
        <!--<div  class="y-cal-texttop">成员</div>-->
        <!--<div>-->
        <!--<ul>-->
        <!--<li class="clearfix">-->
        <!--<span class="bg1"></span>-->
        <!--<i class="on">{{lawList[0].username}}</i>-->
        <!--<em>{{lawList[0].username}}</em>-->
        <!--</li>-->
        <!--<li ng-hide="index == 0" ng-repeat="(index,item) in lawList" class="clearfix">-->
        <!--&lt;!&ndash;<span ng-click="changeMenberCheck(index,item)" class="{{item.check ? 'bg1' : 'bg2'}}"></span>&ndash;&gt;-->
        <!--<input type="checkbox" ng-click="refleshtasklist(item.id)" ng-model="item.isselect">-->
        <!--<i class="on">{{item.username}}</i>-->
        <!--<em>{{item.username}}</em>-->
        <!--</li>-->
        <!--</ul>-->
        <!--</div>-->
        <!--</div>-->
        <!--<div class="y-cal-text pt25">-->
        <!--<div  class="y-cal-texttop">案例</div>-->
        <!--<div>-->
        <!--<ul>-->
        <!--<li class="clearfix">-->
        <!--<span class="bg2"></span>-->
        <!--<i><img src="../../img/y-icon11.png" alt="" width="17"></i>-->
        <!--<em class="on">某某没纠纷案件</em>-->
        <!--</li>-->
        <!--<li class="clearfix">-->
        <!--<span class="bg2"></span>-->
        <!--<i><img src="../../img/y-icon11-2.png" alt="" width="17"></i>-->
        <!--<em class="on">某某没纠纷案件</em>-->
        <!--</li>-->
        <!--<li class="clearfix">-->
        <!--<span class="bg2"></span>-->
        <!--<i><img src="../../img/y-icon11-3.png" alt="" width="17"></i>-->
        <!--<em class="on">某某没纠纷案件</em>-->
        <!--</li>-->
        <!--<li class="clearfix">-->
        <!--<span class="bg2"></span>-->
        <!--<i><img src="../../img/y-icon11-4.png" alt="" width="17"></i>-->
        <!--<em class="on">某某没纠纷案件</em>-->
        <!--</li>-->
        <!--</ul>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->

        <!--&lt;!&ndash;查看详情弹出框&ndash;&gt;-->
        <!--<div id="calendar-details" class="modal fade">-->
        <!--<div class="modal-dialog">-->
        <!--<div class="modal-content">-->
        <!--<div class="modal-body">-->
        <!--<div class="modal-header">-->
        <!--<button type="button" class="close" data-dismiss="modal" style="margin-top:-10px;">&times;</button>-->
        <!--<h4 class="modal-title">-->
        <!--编辑日程-->
        <!--</h4>-->
        <!--</div>-->
        <!--<div class="calender-detail-head">-->
        <!--<div id="calendar-task">-->
        <!--<div style="float: left">任务：</div>-->
        <!--<textarea id="calendar-task-title" style="width: 520px;height: 60px" maxlength="70"/>-->
        <!--</div>-->
        <!--<div style="float: right;margin-top: 5px;margin-right: 10px">-->
        <!--<span id="my-count-edit">0</span><span> /70</span>-->
        <!--</div>-->
        <!--<div class="calendar-details-time">-->
        <!--<span>时间：</span>-->
        <!--<input id="calendar-details-timeval" type="text" readonly class="form_datetime form-control-->
        <!--calendar-date-style"/>-->
        <!--</div>-->
        <!--<div style="margin-top: 20px">-->
        <!--<span>颜色</span>-->
        <!--<button id="edit-task-red" class="btn btn-link btn-xs active" style="margin-left: 20px;-->
        <!--width: 20px;height: 20px;background-color: red"></button>-->
        <!--<button id="edit-task-purple" class="btn btn-link btn-xs"-->
        <!--style="width: 20px;height: 20px;background-color: purple"></button>-->
        <!--<button id="edit-task-blue" class="btn btn-primary btn-xs"-->
        <!--style="width: 20px;height: 20px;"></button>-->
        <!--<button id="edit-task-green" class="btn btn-success btn-xs"-->
        <!--style="width: 20px;height: 20px;"></button>-->
        <!--</div>-->
        <!--<div style="margin-top: 20px;height: 40px">-->
        <!--<span class="pull-left" style="margin-top: 10px">参与人</span>-->

        <!--<div class='join-per pull-left ' ng-repeat="x in lawerList">-->
        <!--<div class='join-per-p' style='background-color: rgb(66,183,159);color:#fff;position:-->
        <!--relative;'>-->
        <!--&lt;!&ndash;<img src="img/lawyer-close-calendar.png" class='Add-close-cy'&ndash;&gt;-->
        <!--&lt;!&ndash;style='position: relative;margin-left: 48px;'&ndash;&gt;-->
        <!--&lt;!&ndash;ng-click="CaseLawyerDel(x.id)"/>&ndash;&gt;-->
        <!--<img style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"-->
        <!--src="../../img/lawyer-close.png" ng-click="CaseLawyerDel(x.id)">-->
        <!--<span style='margin-top: 5px;'>{{x.username}}</span>-->
        <!--</div>-->
        <!--</div>-->

        <!--<div id="LawyerBox" style="float: left;">-->
        <!--<div class="join-per pull-left LawyerAdd" style="position: relative;">-->
        <!--<div class="join-per-p" id="Zhixinxiezhu"><i class="fa fa-fw fa-plus"></i></div>-->

        <!--<div class="LawyerAddBody3 hide" style="min-height: 60px">-->
        <!--<i class="arrowicon"></i>-->
        <!--<span class="Add-close"></span>-->
        <!--<h5>添加参与人员</h5>-->
        <!--<ul class="LawyerList clearfix">-->
        <!--<li class="active"><a>直接添加</a></li>-->
        <!--&lt;!&ndash;<li class=""><a>邀请参与</a></li>&ndash;&gt;-->
        <!--</ul>-->
        <!--<div class="LawyerDiv">-->
        <!--&lt;!&ndash;直接添加&ndash;&gt;-->
        <!--<div class="Lawyerbox ">-->
        <!--<input ng-model="cellphone" id="addXieZhuInput"-->
        <!--class="form-control" placeholder="请输入邮箱、手机号添加联系人"/>-->
        <!--<ul style="overflow-y:scroll;display: none;" class="LawyerboxUl">-->
        <!--<li>-->
        <!--<div style="margin-top: 5px"-->
        <!--ng-repeat="caseuser in CaseLawyerTianSelect.data">-->
        <!--<span class="LawyerboxUlS" style="display: inline-block">{{caseuser.username}}</span>-->
        <!--<button class="LawyerboxUlbutton"-->
        <!--ng-click="CaseLawyerTianButton(caseuser.username,caseuser.id)">-->
        <!--添加-->
        <!--</button>-->
        <!--</div>-->
        <!--</li>-->
        <!--</ul>-->
        <!--<span id="error-text" style="display: none">未搜索到结果</span>-->
        <!--</div>-->
        <!--&lt;!&ndash;邀请参与&ndash;&gt;-->
        <!--<div class="Lawyerbox hide">-->
        <!--<input class="form-control" placeholder="请输入人员姓名"/>-->
        <!--<div class="eplAddDivBtn">-->
        <!--<button>保存</button>-->
        <!--<a>取消</a>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--<div class="modal-footer" style="margin-top: 20px">-->
        <!--<button id="calendarDetailEdit" ng-click="turnDetails()" type="button" class="btn btn-info">查看详情-->
        <!--</button>-->
        <!--<button ng-click="updateTask()" type="button" class="btn btn-sm calendar-btn-color">更新-->
        <!--</button>-->
        <!--<button ng-click="deleteTask()" type="button" class="btn btn-sm btn-danger">删除日程-->
        <!--</button>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--</div>-->
      </div>
      <!--团队-->
      <div class="g-auto" ng-show="leftActive != leftLow.lawfirmid">
        <!--成员-->
        <div ng-show="tabShow==0" class="y-content2-box clearfix fl wt-scroll">
          <div class="y-content2-table fl">
            <!--<ul class="gTeamList">
              <li>
                <span class="y-content2-XM">姓名</span>
                <span>手机号</span>
                <span>电子邮箱</span>
                &lt;!&ndash;<span>擅长领域</span>&ndash;&gt;
                <span>状态</span>
                <span style="width:10%">操作</span>
              </li>
              <li ng-repeat="item in lawList2" style="position: relative;">

                <span class="y-content2-shuju">
                  <img width="27" height="27" ng-src="{{item.iconUrl}}" alt="">{{item.userName}}
                </span>
                <span>{{item.cellPhone}}</span>
                <span>{{item.email}}</span>
                &lt;!&ndash;<span>刑事案件</span>&ndash;&gt;
                <span>{{teamPerType(item.status)}}</span>
                <i class="icon iconfont dropdown-toggle" id="custmerUnfold"  data-toggle="dropdown" aria-haspopup="true" style="cursor: pointer;position: relative;top:-21px;left:7px;line-height: 13px;overflow: visible;" ng-if="item.userId != userId">&#xe6c3;
                  <div class="naturalPerDropdown dropdown"  role="menu" aria-labelledby="dropdownMenu1">
                    <div class="editStageTitle tc">功能菜单 <span class="pull-right">
                        <i class="icon iconfont icon-quxiao" ng-click="removeBox($event)">&#xe66e;</i></span>
                    </div>
                    <p class="stageRename" data-toggle="modal" data-target="#editAccountIncomMyModal" ng-click="deleteTeamMember($event,$index,item.memberId,2)" style="padding-left:25px">
                      <span style="float: none"><i class="icon iconfont">&#xe623;</i></span>删除</p>
                  </div>
                </i>

              </li>

            </ul>-->

            <table class="table" >
              <thead class="tHeadL">
              <tr>
                <th class="col-md-1"></th>
                <th>姓名</th>
                <th>手机号</th>
                <th>电子邮箱</th>
                <th>状态</th>
                <th>操作</th>
              </tr>
              </thead>
              <tbody class="tBodyL">
              <tr ng-repeat="item in lawList2 track by $index">
                <td class="col-md-1">
                  <img width="27" height="27" src="{{item.iconUrl}}" ng-src="{{item.iconUrl}}" alt="" ng-if="item.iconUrl!=null">
                  <span ng-if="item.iconUrl ==null" style="width: 26px;height: 26px; display:inline-block; background: #00bfb5; text-align: center; line-height: 26px; border-radius: 50%; color: #fff;">
                  {{item.email | limitTo:3}}
                </span>
                </td>
                <td class="col-md-2">
                  {{item.userName| limitTo:14}}
                </td>
                <td>{{item.cellPhone}}</td>
                <td>{{item.email}}</td>
                <td>{{teamPerType(item.status)}}</td>
                <td>
                  <i class="icon iconfont dropdown-toggle" id="custmerUnfold"  data-toggle="dropdown" aria-haspopup="true" style="cursor: pointer;position: relative;" ng-if="item.userId != userId">&#xe6b2;
                    <div class="naturalPerDropdown dropdown"  role="menu" aria-labelledby="dropdownMenu1">
                      <div class="editStageTitle tc">功能菜单 <span class="pull-right">
                        <i class="icon iconfont icon-quxiao" ng-click="removeBox($event)">&#xe66e;</i></span>
                      </div>
                      <p class="stageRename" data-toggle="modal" data-target="#editAccountIncomMyModal" ng-click="deleteTeamMember($event,$index,item.memberId,2)" style="padding-left:25px">
                        <span style="float: none"><i class="icon iconfont">&#xe623;</i></span>删除</p>
                    </div>
                  </i>
                </td>
              </tr>
              </tbody>
            </table>
            <!--下边有分页记得添加-->
            <div class="pagingBox" ng-show="pageSetting2.totalItems > 10">
              <div class="ssqPagingSimple">
                <ul uib-pagination total-items="pageSetting2.totalItems" ng-model="pageSetting2.pageNo" items-per-page="pageSetting2.pageSize" class="pagination-sm" boundary-link-numbers="true" ng-change="getTeamMember(tabShow,leftActive)" max-size="8" previous-text="上一页" next-text="下一页" ></ul>
              </div>
            </div>
          </div>
        </div>

        <!--案件-->
        <div  ng-show="tabShow==1" class="y-content3-box   wt-scroll clearfix   fl">
          <div class="y-content3-case fl">
            <div class="y-case-top clearfix">
              <span class="y-search fl">共{{pageSetting3.totalItems}}个案件</span>
              <span class="y-search2 fl" ng-click="searchShow = true" ng-hide="searchShow"></span>
              <input maxlength="50" type="text" class="g-search" placeholder="请输入内容，enter键搜索" ng-show="searchShow" ng-model="caseName" ng-enter="searchCaseList()">
              <!--<span class="y-two fr">2</span>-->
              <!--<span class="y-two-img fr"></span>-->
              <!--<span class="y-nine fr">199</span>-->
              <!--<span class="y-nine-img fr"></span>-->
              <!--<span class="y-int fr">200</span>-->
              <!--<span class="y-int-img fr"></span>-->
            </div>
            <!--<ul class="y-case-list gTeamList">
              <li class="clearfix">
                <span class="y-case-list-left fl">案件名称</span>
                <span class="fl">任务</span>
                <span class="fl">创建时间</span>
                <span class="fl">结束时间</span>
                <span class="fl">操作</span>
              </li>

              <li class="clearfix" ng-repeat="item in castList">
              <span class="y-case-list-left2 fl">
                  <div class="fl">

                  </div>
                  <div class="fl" style="width: 85%;">
                    <strong class="y-name" style="margin-left:52px;display: inline-block;width:100%;height:48px;overflow: hidden;">{{item.casename}}</strong>
                    &lt;!&ndash;<b class="y-city">广东事务所</b>&ndash;&gt;
                  </div>
                </span>
                <span class="fl"><i style="color:#0db3a6;">{{item.done}}</i>/{{item.alltask}}</span>
                <span class="fl">{{item.createddate|date:'yyyy/MM/dd'}}</span>
                <span class="fl">{{item.status == 7 ? (modifieddate | date:'yyyy-MM-dd') : '进行中'}}</span>
                <span class="fl"><a href="javascript:;" ng-click="setCookieId(item)">查看详情</a></span>
              </li>
            </ul>-->


            <table class="table" >
              <thead>
              <tr>
                <th>案件名称</th>
                <th>任务</th>
                <th>创建事件</th>
                <th>结束时间</th>
                <th>操作</th>
              </tr>
              </thead>
              <tbody >
              <tr ng-repeat="item in castList track by $index">
                <td class="col-md-2">
                  {{item.casename}}
                </td>
                <td><i style="color:#0db3a6;">{{item.done}}</i>/{{item.alltask}}</td>
                <td>{{item.createddate|date:'yyyy/MM/dd'}}</td>
                <td>{{item.status == 7 ? (modifieddate | date:'yyyy-MM-dd') : '进行中'}}</td>
                <td><a href="javascript:;" ng-click="setCookieId(item)">查看详情</a></td>
              </tr>
              </tbody>
            </table>
            <!--下边有分页记得添加-->
            <div class="pagingBox"  ng-show="pageSetting3.totalItems > 10">
              <div class="ssqPagingSimple">
                <ul uib-pagination total-items="pageSetting3.totalItems" ng-model="pageSetting3.pageNo" items-per-page="pageSetting3.pageSize" class="pagination-sm" boundary-link-numbers="true" ng-change="getTeamMember(tabShow,leftActive)" max-size="8" previous-text="上一页" next-text="下一页" ></ul>
              </div>
            </div>
          </div>

        </div>

        <!--团队日程-->
        <div ng-show="tabShow==2" class="y-content4-box wt-scroll clearfix fl">
          <!--日程-->
          <!--左-->
          <div class="row L_ScheduleLeft"  style="margin-left: 0px;margin-right: 0px;background: #FFFFFF;display: block;width: 80%">
            <!--style="margin-left:80px;margin-top:20px;"-->
            <div class="col-sm-12" style="margin-top: 10px;position: relative;background: #FFFFFF;padding-bottom:10px">
              <!--<div class="space"></div>-->
              <!-- #section:plugins/data-time.calendar -->
              <div id="calendar2" class="mycalendar" style="float: left"></div>
              <!-- /section:plugins/data-time.calendar -->
            </div>

            <!-- 新建模块 -->
            <div class="modal fade" id="calendar-new2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
                 aria-hidden="true">
              <div class="modal-dialog">
                <div class="modal-content">
                  <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                      &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel2" style="text-align:center">
                      新建日程
                    </h4>
                  </div>
                  <div class="modal-body" style="z-index: 10">
					                    <textarea  class="form-control" id="input_text12" placeholder="请输入日程内容" aria-describedby="basic-addon1" maxlength="70" style="width: 560px;height: 60px">

					                    </textarea>
                    <div id="textcontent2">
                      <img src="../../img/errorHint.png" alt="" id="textcontent22">
                      <span style="color: red">内容为空</span>
                    </div>
                    <div style="float: right;margin-top: 5px;margin-right: 10px">
                      <span id="my-count2">0</span><span> /70</span>
                    </div>

                    <div style="margin-top: 20px">
                      <form class="form-inline">
                        <span>时间</span>
                        <input maxlength="20" id="calendar-details-new2" type="text" readonly class="form_datetime form-control calendar-date-style" ng-model="inputDate" value="formatDate" style="margin-top: 10px"/>
                      </form>
                    </div>
                    <div style="margin-top: 20px">
                      <span>颜色</span>
                      <button id="task-red2" class="btn btn-link btn-xs"
                              style="margin-left: 20px; width: 20px;height: 20px;background-color: red"></button>
                      <button id="task-purple2" class="btn btn-link btn-xs"
                              style="width: 20px;height: 20px;background-color: purple"></button>
                      <button id="task-blue2" class="btn btn-primary btn-xs"
                              style="width: 20px;height: 20px;"></button>
                      <button id="task-green2" class="btn btn-success btn-xs"
                              style="width: 20px;height: 20px;"></button>

                    </div>
                    <!--<div style="margin-top: 20px;height: 40px">-->
                    <!--<span class="pull-left" style="margin-top: 10px">参与人</span>-->

                    <!--<div class="pull-left" style="display: block; position: absolute;margin-left: 53px;">-->
                    <!--<img class="pull-left img-circle" ng-src="{{userPortrait}}"-->
                    <!--style="width: 40px;height: 40px">-->
                    <!--<span style="position: absolute;top: 10px;left: 5px">{{settingusertext}}</span>-->
                    <!--</div>-->

                    <!--<div class="add-join-per-p pull-left" style="width: 40px;height: 40px;-->
                    <!--margin-left: 55px;margin-top: 0px">-->
                    <!--<i class="fa fa-fw fa-plus"></i>-->
                    <!--</div>-->
                    <!--</div>-->
                    <div style="margin-top: 40px;height: 40px">
                      <span class="pull-left" style="margin-top: 10px">参与人</span>

                      <div class='join-per pull-left'>
                        <div class='join-per-p-my' style='background-color: rgb(66,183,159);color:#fff;position:
					                            relative;'>
                          <!--<img src="img/lawyer-close-calendar.png" class='Add-close-cy'-->
                          <!--style='position: relative;margin-left: 48px;'-->
                          <!--ng-click="CaseLawyerDel(x.id)"/>-->
                          <span style='margin-top: 5px;'>{{userPortraitName}}</span>
                        </div>
                      </div>

                      <div class='join-per pull-left' ng-repeat="userCy in cyList">
                        <div class='join-per-p' style='background-color: rgb(66,183,159);color:#fff;position:
					                            relative;'>
                          <!--<img src="img/lawyer-close-calendar.png" class='Add-close-cy'-->
                          <!--style='position: relative;margin-left: 48px;'-->
                          <!--ng-click="CaseLawyerDel(x.id)"/>-->
                          <img style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"
                               src="../../img/lawyer-close.png" ng-click="delCanyu(userCy.userId)">
                          <span style='margin-top: 5px;'>{{userCy.userName}}</span>
                        </div>
                      </div>

                      <div style="float: left;">
                        <div class="join-per pull-left LawyerAdd" style="position: relative;">
                          <div class="join-per-p"><i class="fa fa-fw fa-plus"></i></div>

                          <div class="LawyerAddBody3 hide" style="min-height: 60px">
                            <i class="arrowicon"></i>
                            <span class="Add-close"></span>
                            <h5>添加参与人员</h5>
                            <ul class="LawyerList clearfix">
                              <li class="active"><a>直接添加</a></li>
                              <!--<li class=""><a>邀请参与</a></li>-->
                            </ul>
                            <div class="LawyerDiv">
                              <!--直接添加-->
                              <div class="Lawyerbox ">
                                <input maxlength="50"  ng-model="cellphone" id="addCanyuInput2"
                                       class="form-control" placeholder="请输入邮箱、手机号添加联系人" ng-enter="addCanyuInputEnter()"/>
                                <ul style="overflow-y:scroll;display: none;" class="LawyerboxUl">
                                  <li>
                                    <div style="margin-top: 5px" ng-repeat="caseUser in CaseLawyerTianSelectSub">
                                      <span class="LawyerboxUlS" style="display: inline-block">{{caseUser.username}}</span>
                                      <button class="LawyerboxUlbutton" ng-click="CanYuTianButton(caseUser.username,caseUser.id)">
                                        添加
                                      </button>
                                    </div>
                                  </li>
                                </ul>
                                <span id="error-add-text2" style="display: none">未搜索到结果</span>
                              </div>
                              <!--邀请参与-->
                              <div class="Lawyerbox hide">
                                <input maxlength="50" class="form-control" placeholder="请输入人员姓名"/>
                                <div class="eplAddDivBtn">
                                  <button>保存</button>
                                  <a>取消</a>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="modal-footer" style="text-align:center">
                    <button type="button" class="btn btn-success" id="button_text12">
                      保存
                    </button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消
                    </button>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!--右-->
          <div class="L_ScheduleRight" style="width: 19%; height: 100%; padding-bottom: 20px;">
            <div class="y-calendar-right fr" style="width:100%">
              <!--<div class="y-cal-text pt15">-->
              <div  class="y-cal-texttop">成员</div>

              <div class="L_memberList" ng-repeat="item in teamlawList">
                <div class="L_member">
                  <input type="checkbox" ng-click="refleshtasklist(item.id)" ng-model="item.isselect">
                  <img src="../../img/L_momentTX.png" alt="">
                  <span class="L_memberN">{{item.userName | limitTo:1}}</span>
                  <span class="L_memberName">{{item.userName}}</span>
                </div>
              </div>
              <!--<div>-->
              <!--<ul>-->
              <!--&lt;!&ndash;<li class="clearfix">&ndash;&gt;-->
              <!--&lt;!&ndash;<span class="bg1"></span>&ndash;&gt;-->
              <!--&lt;!&ndash;<i class="on">{{lawList2[0].userName}}</i>&ndash;&gt;-->
              <!--&lt;!&ndash;<em>{{lawList2[0].userName}}</em>&ndash;&gt;-->
              <!--&lt;!&ndash;</li>&ndash;&gt;-->
              <!--<li  ng-repeat="item in lawList2" class="clearfix">-->
              <!--&lt;!&ndash;<span ng-click="changeMenberCheck(index,item)" class="{{item.check ? 'bg1' : 'bg2'}}"></span>&ndash;&gt;-->
              <!--<input type="checkbox" ng-click="refleshtasklist(item.id)" ng-model="item.isselect">-->
              <!--<i class="on">{{item.userName}}</i>-->
              <!--<em>{{item.userName}}</em>-->
              <!--</li>-->
              <!--</ul>-->
              <!--</div>-->
              <!--</div>-->
              <div class="y-cal-text pt25">
                <div  class="y-cal-texttop">案例</div>
                <div>
                  <ul>
                    <li class="clearfix">
                      <span class="bg2"></span>
                      <i><img src="../../img/y-icon11.png" alt="" width="17"></i>
                      <em class="on">某某没纠纷案件</em>
                    </li>
                    <li class="clearfix">
                      <span class="bg2"></span>
                      <i><img src="../../img/y-icon11-2.png" alt="" width="17"></i>
                      <em class="on">某某没纠纷案件</em>
                    </li>
                    <li class="clearfix">
                      <span class="bg2"></span>
                      <i><img src="../../img/y-icon11-3.png" alt="" width="17"></i>
                      <em class="on">某某没纠纷案件</em>
                    </li>
                    <li class="clearfix">
                      <span class="bg2"></span>
                      <i><img src="../../img/y-icon11-4.png" alt="" width="17"></i>
                      <em class="on">某某没纠纷案件</em>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>

          <!--查看详情弹出框-->
          <div id="calendar-details2" class="modal fade">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-body">
                  <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" style="margin-top:-10px;">&times;</button>
                    <h4 class="modal-title">
                      编辑日程
                    </h4>
                  </div>
                  <div class="calender-detail-head">
                    <div id="calendar-task2">
                      <div style="float: left">任务：</div>
                      <textarea id="calendar-task-title2" style="width: 520px;height: 60px" maxlength="70"/>
                    </div>
                    <div style="float: right;margin-top: 5px;margin-right: 10px">
                      <span id="my-count-edit2">0</span><span> /70</span>
                    </div>
                    <div class="calendar-details-time">
                      <span>时间：</span>
                      <input maxlength="20" id="calendar-details-timeval2" type="text" readonly class="form_datetime form-control
					                                                 calendar-date-style"/>
                    </div>
                    <div style="margin-top: 20px">
                      <span>颜色</span>
                      <button id="edit-task-red2" class="btn btn-link btn-xs active" style="margin-left: 20px;
					                        width: 20px;height: 20px;background-color: red"></button>
                      <button id="edit-task-purple2" class="btn btn-link btn-xs"
                              style="width: 20px;height: 20px;background-color: purple"></button>
                      <button id="edit-task-blue2" class="btn btn-primary btn-xs"
                              style="width: 20px;height: 20px;"></button>
                      <button id="edit-task-green2" class="btn btn-success btn-xs"
                              style="width: 20px;height: 20px;"></button>
                    </div>
                    <div style="margin-top: 20px;height: 40px">
                      <span class="pull-left" style="margin-top: 10px">参与人</span>

                      <div class='join-per pull-left ' ng-repeat="x in lawerList">
                        <div class='join-per-p' style='background-color: rgb(66,183,159);color:#fff;position:
					                            relative;'>
                          <!--<img src="img/lawyer-close-calendar.png" class='Add-close-cy'-->
                          <!--style='position: relative;margin-left: 48px;'-->
                          <!--ng-click="CaseLawyerDel(x.id)"/>-->
                          <img style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"
                               src="../../img/lawyer-close.png" ng-click="CaseLawyerDel(x.id)">
                          <span style='margin-top: 5px;'>{{x.username}}</span>
                        </div>
                      </div>

                      <div id="LawyerBox" style="float: left;">
                        <div class="join-per pull-left LawyerAdd" style="position: relative;">
                          <div class="join-per-p" id="Zhixinxiezhu"><i class="fa fa-fw fa-plus"></i></div>

                          <div class="LawyerAddBody3 hide" style="min-height: 60px">
                            <i class="arrowicon"></i>
                            <span class="Add-close"></span>
                            <h5>添加参与人员</h5>
                            <ul class="LawyerList clearfix">
                              <li class="active"><a>直接添加</a></li>
                              <!--<li class=""><a>邀请参与</a></li>-->
                            </ul>
                            <div class="LawyerDiv">
                              <!--直接添加-->
                              <div class="Lawyerbox ">
                                <input maxlength="50" ng-model="cellphone" id="addXieZhuInput2"
                                       class="form-control" placeholder="请输入邮箱、手机号添加联系人" ng-enter="addCanyuInputEnter()"/>
                                <ul style="overflow-y:scroll;display: none;" class="LawyerboxUl">
                                  <li>
                                    <div style="margin-top: 5px"
                                         ng-repeat="caseuser in CaseLawyerTianSelectSub">
                                      <span class="LawyerboxUlS" style="display: inline-block">{{caseuser.username}}</span>
                                      <button class="LawyerboxUlbutton"
                                              ng-click="CaseLawyerTianButton(caseuser.username,caseuser.id)">
                                        添加
                                      </button>
                                    </div>
                                  </li>
                                </ul>
                                <span id="error-text2" style="display: none">未搜索到结果</span>
                              </div>
                              <!--邀请参与-->
                              <div class="Lawyerbox hide">
                                <input maxlength="50" class="form-control" placeholder="请输入人员姓名"/>
                                <div class="eplAddDivBtn">
                                  <button>保存</button>
                                  <a>取消</a>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="modal-footer" style="margin-top: 20px">
                  <button id="calendarDetailEdit2" ng-click="turnDetails()" type="button" class="btn btn-info">查看详情
                  </button>
                  <button ng-click="updateTask()" type="button" class="btn btn-sm calendar-btn-color">更新
                  </button>
                  <button ng-click="deleteTask()" type="button" class="btn btn-sm btn-danger">删除日程
                  </button>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!--设置-->
        <div  ng-if="tabShow==3" class="y-content5-box clearfix fl">
          <div class="y-content5-set fl">
            <div class="y-set-top delTeam">
              <div class="pb20 clearfix" ng-if="owner == userId">
                <div class="w90 fl lh38">团队名称</div>
                <div class="y-set-topInput fl">
                  <input maxlength="50" type="text" placeholder="{{updateTeam.teamname}}" ng-model="updateTeam.teamname" ng-blur="teamUpdate()">
                </div>

              </div>
              <div class="pb20 clearfix"  ng-if="owner == userId">
                <div class="w90 fl lh38">团队描述</div>
                <div class="y-set-topInput fl">
                  <textarea maxlength="50" type="text" placeholder="{{updateTeam.teamdescription}}"  ng-model="updateTeam.teamdescription" ng-blur="teamUpdate()"></textarea>
                </div>

              </div>
            </div>
            <div class="y-set-bottom">
              <div class="y-set-Transfer delTeam" ng-if="owner == userId">
                <div class="y-trans-text clearfix">
                  <span class="fl w565 dCol">转让团队</span>
                  <a class="aButton" style="background:#EC9B15;"  data-toggle="modal" data-target="#myModalPrompt" style="border-radius: 4px">转让团队</a>
                </div>
                <div class="h40 w565">
                  <span class="on">转让其他成员后，将无法再管理当前团队。该操作无法撤消</span>
                </div>
              </div>
              <div class="y-set-Transfer delTeam"  ng-if="owner == userId">
                <div class="y-trans-text clearfix">
                  <span class="fl w565 dCol">解散团队</span>
                  <a class="aButton" style="background:#E4545A;"  href="javascript:;"  ng-click="showDeleteTeam()">解散团队</a>
                </div>
                <div class="h40 w565">
                  <span class="on">解散后所有数据都将被彻底删除，此操作无法撤消，请谨慎。 </span>
                </div>

              </div>
              <div class="y-set-Transfer exitTeam" ng-if="owner != userId">
                <div class="y-trans-text clearfix">
                  <span class="fl w565 dCol">退出团队</span>
                  <a class="fl" href="javascript:;" ng-click="showQuitTeam()">退出团队</a>
                </div>
                <div class="h40 w565">
                  <span class="on">该操作不可撤销，退出团队后，您将不能访问该团队的一切数据，请谨慎操作。</span>
                </div>

              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

  </div>
</div>
<!--最大的父级-->


<!--=====================================弹窗==========================================--!>
  <!--加入团队弹窗-->
<!--从邮箱邀请-->
<div class="modal fade" id="myModalInvitation" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <!--上边-->
      <div class="y-inv clearfix" style="height:auto; padding:0 0 50px 0">
        <div>
          <div class="y-inv-top clearfix">
            <span class="fl">邀请好友</span>
            <div class="fr">
              <a href="javascript:void(0);" ng-click="closeInviteWin();">
                <img src="../../img/y-icon-close.png" alt=""  aria-label="Close">
              </a>
            </div>
          </div>
        </div>

        <div class="commonLine"></div>
        <!--中间导航-->
        <div>
          <div class="y-inv-center">
            <ul class="clearfix">
              <li class="fl"><a href="javascript:;" ng-click="alertTabShow = 0" ng-class="{'active':alertTabShow == 0}">从邮箱邀请</a></li>
              <li class="fl"><a href="javascript:;" ng-click="alertTabShow = 1;searchLawfirmMember();" ng-class="{'active':alertTabShow == 1}" ng-show="leftLow.authState==2">从律所添加</a></li>
              <!--<li class="fl"><a href="javascript:;" ng-click="alertTabShow = 2" ng-class="{'active':alertTabShow == 2}">从二维码邀请</a></li></ul>-->
          </div>
        </div>
        <!--中间所属律所-->
        <div>
          <div class="y-inv-bottomT clearfix">
            <div class="y-inv-bTtext fl" >所属{{lawFirmTeamFlag?'律所':'团队'}}</div>
            <input maxlength="50" type="text"  placeholder="{{lawFirmTeamFlag ? leftLow.lawfirmname : leftTeam[teamMemberIndex].teamname}}" class="y-inv-bTtext2 fl" disabled="disabled" >
          </div>
        </div>
        <!--下边-->
        <!------------------------ 邮箱邀请-------------------------->
        <div>
          <div class="y-inv-bottom" ng-show="alertTabShow == 0">
            <div class="y-inv-bottomC clearfix">
              <input maxlength="50" type="text" ng-model="inviterEmailSingle" placeholder="输入完整的邮箱" ng-blur="invitationEmail()" class="y-inv-bTtext2 y-inv-bTtext3 fl">
              <a href="javascript:;" ng-click="getPersonSingle()" class="y-click-inv fl">邀请</a>
            </div>
            <div style="margin-left: 90px">
              <p style="color: red;margin: 5px 8px;" ng-show="phoneEmpty">邮箱不能为空</p>
              <p style="color: red;margin: 5px 8px;" ng-show="phoneValid">请输入有效的邮箱</p>
            </div>

            <div class="y-focus">
              <div class="y-inv-enter">
                <ul ng-if="invitedTempMembers.length > 0">
                  <li ng-repeat="item in invitedTempMembers" class="clearfix" ng-click="addClass(item)" ng-class="{'active':item.show}">

                    <span class="fl" ng-if="!item.register">{{item.email | limitTo:3}}</span>
                    <span class="fl" ng-if="item.register && item.name ">{{item.name | limitTo:2}}</span>
                    <span class="fl" ng-if="item.register && (item.name == '' || item.name == '')">{{item.email | limitTo:3}}</span>

                    <em class="fl">{{item.email}}</em>
                    <a class="fr" href="javascript:;" ng-if="item.flag == 1" ng-click="invitePersonSingle(item.email)">添加</a>
                    <a class="fr" href="javascript:;" ng-if="item.flag == 2">已邀请</a>
                    <a class="fr" href="javascript:void(0);" ng-if="item.flag == 3">已添加</a>
                  </li>
                </ul>
              </div>
              <div>
                <div class="y-inv-enterText clearfix">
                  <ul class="y-inv-this fl clearfix">
                    <div>本次添加了{{invitedMembers.length || 0}}人</div>
                    <li ng-repeat="item in invitedMembers" class=" fl clearfix">
                      <div ng-repeat="t in item.invited">
                        <div>
                          <img ng-src="{{item.iconUrl}}" src="{{t.iconUrl}}" ng-if="t.iconUrl!=null" style="border-radius: 100%" class="y-inv-surname"/>
                        </div>

                        <div class="y-inv-surname" ng-if="t.iconUrl==null">{{t.email | limitTo:3}}</div>
                        <!--<div class="y-inv-surname" ng-if="t.icon==null">{{t.name | limitTo:2}}</div>-->
                        <!--<div class="y-inv-surname" ng-if="t.icon==null">{{t.email | limitTo:3}}</div>-->
                      </div>

                          <!--<div class="y-inv-surname y-inv-userName">乔</div>-->
                          <!--<div class="y-inv-surname" ng-if="!item.invited.register">-->
                            <!--<img ng-src="{{item.icon}}" src="{{item.icon}}" ng-if="item.icon!=null" style="border-radius: 100%"/>-->
                          <!--</div>-->

                          <!--<div class="y-inv-surname" ng-if="!item.register">{{item.email | limitTo:3}}</div>-->
                          <!--<div class="y-inv-surname"  ng-if="item.register && item.name ">{{item.name | limitTo:2}}</div>-->
                          <!--<div class="y-inv-surname"  ng-if="item.register && (item.name == '' || item.name == '')">{{item.email | limitTo:3}}</div>-->

                    </li>
                  </ul>
                  <ul class="y-inv-this fl clearfix">
                    <div>邀请了{{inviteNewMembers.length || 0}}个新用户</div>
                    <div>请通知对方查收邀请邮件</div>
                    <li ng-repeat="item in inviteNewMembers" class="fl clearfix">
                      <div ng-repeat="tind in item.inviting">
                        <div class="y-inv-surname y-inv-userName" ng-if="!tind.register">{{tind.email | limitTo:3}}</div>
                        <div class="y-inv-surname y-inv-userName"  ng-if="tind.register && tind.name ">{{tind.name | limitTo:2}}</div>
                        <div class="y-inv-surname y-inv-userName"  ng-if="tind.register && (tind.name == '' || tind.name == '')">{{tind.email | limitTo:3}}</div>
                      </div>

                        <!--<div class="y-inv-surname y-inv-userName">乔</div>-->

                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!------------------------------------从律所添加----------------->
        <div>
          <div class="y-inv-bottom2" ng-show="alertTabShow == 1">
            <div class="y-inv-bottomC2 clearfix">
              <input maxlength="50" type="text"  placeholder="输入名字、邮箱、手机号查找律所同事" ng-model="inviteLawfrimMemberText"
                     class="y-inv-bTtext2 y-inv-bTtext4 fl" ng-keyup="searchLawfirmMember()">
            </div>
            <div class="y-focus2">
              <div class="y-inv-enter2">
                <ul class="">
                  <li ng-repeat="item in inviteLawfrimMemberList" class="clearfix" ng-class="{'active':false}">
                    <span class="fl y-inv-surname"><img src="{{item.iconUrl}}" ng-src="{{item.iconUrl}}" alt=""></span>
                    <em class="fl on" >{{item.username}}</em>
                    <!--<i></i>-->
                    <a class="fr" href="javascript:;" ng-click="addTeamMemberFromLawfirm(item)" ng-if="item.flag == 1">添加</a>
                    <a class="fr" href="javascript:;" ng-if="item.flag == 2">已邀请</a>
                    <a class="fr" href="javascript:;" ng-if="item.flag == 3">已添加</a>
                  </li>
                </ul>
              </div>
              <div>
                <div class="y-inv-enterText2 clearfix">
                  <div class="y-inv-this2 fl">
                    <div>本次添加了{{inviteLawfrimList.length}}人</div>

                    <div ng-repeat="member in inviteLawfrimList" class="">
                      <div ng-repeat="item in member.invited" class="inviteLawfrimList">
                        <span class="fl y-inv-surname" ><img src="{{item.iconUrl}}" ng-src="{{item.iconUrl}}" alt="" ng-if="item.iconUrl!=null"></span>
                        <span class="fl y-inv-surname" ng-if="item.iconUrl==null">{{item.email | limitTo:3}}</span>
                      </div>

                    </div>
                    <!--<div class="y-inv-surname2" ng-repeat="member in inviteLawfrimList">-->
                      <!--{{member.icon}}-->
                      <!--&lt;!&ndash;<div ng-repeat="memberItem in member.invited">&ndash;&gt;-->
                        <!--&lt;!&ndash;<span class="fl y-inv-surname" ><img src="{{memberItem.icon}}" ng-src="{{memberItem.icon}}" alt="" ng-if="memberItem.icon!=null"></span>&ndash;&gt;-->
                        <!--&lt;!&ndash;<span class="fl y-inv-surname" ng-if="memberItem.icon==null">{{memberItem.email | limitTo:3}}</span>&ndash;&gt;-->
                        <!--&lt;!&ndash;&lt;!&ndash;<span class="y-del"></span>&ndash;&gt;&ndash;&gt;-->
                      <!--&lt;!&ndash;</div>&ndash;&gt;-->


                    <!--</div>-->
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div >
        <!------------------------------------从二维码添加---------------------->
        <!--二维码的开启链接-->
        <!--<div  ng-show="alertTabShow == 2">-->
        <!--<div class="y-inv-link">-->
        <!--<div class="y-inv-linkT">-->
        <!--<img src="../../img/y-icon-13.png" alt="">-->
        <!--</div>-->
        <!--<div class="y-inv-linkC">-->
        <!--<button>开启链接</button>-->
        <!--</div>-->
        <!--<div class="y-inv-linkB">-->
        <!--<div>开启链接并复制，通过QQ、微信、邮件等方式分享给团队 成员，实现快速邀请</div>-->
        <!--</div>-->
        <!--</div>-->
        <!--&lt;!&ndash;二维码扫码添加&ndash;&gt;-->
        <!--<div class="y-inv-bottom3">-->
        <!--<div class="y-inv-bottomC3 clearfix">-->
        <!--<input type="text"  placeholder="https://my.worktile.com/team/link/join?code=3a"-->
        <!--class="y-inv-bTtext2 fl">-->
        <!--</div>-->

        <!--<div class="y-inv-scanning clearfix">-->
        <!--<div class="y-inv-scanningL fl">-->
        <!--<div>扫描二维码</div>-->
        <!--<div>微信邀请好友</div>-->
        <!--</div>-->
        <!--<div class="y-inv-scanningR fl">成员加入团队后，为了防止 链接泄漏，可以选择</div>-->
        <!--</div>-->

        <!--<div class="y-inv-codeImg clearfix">-->
        <!--<div class="y-inv-codeImgL fl"><img src="../../img/y-icon-code.png" alt=""></div>-->
        <!--<div class="y-inv-codeImgR fl"><button>关闭链接</button></div>-->
        <!--</div>-->

        <!--</div>-->
        <!--</div>-->




      </div>
      <!-- 一条线 -->
      <div class="commonLine"></div>
      <!-- 一条线 end-->
    <!--button-->
      <div style="padding:0 0 20px 0; width:90%; margin:0 auto">
        <div class="clearfix y-nav" style="padding:8px 0; text-align:right" >
          <a class=" fr request"  ng-click="closeInviteWin()" >确定</a>
        </div>
      </div>
      <!--button end-->
    </div>
  </div>
</div>


<!--=================================创建团队==============-->
<div  class="modal fade" id="myModalTeam" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog modal-lg" role="document">
    <div class="y-createTeam modal-content">
      <!--top-->
      <div>
        <div class="y-createTeam-T clearfix">
          <span class="fl">创建团队</span>
          <div class="fr">
            <a href="javascript:;">
              <img src="../../img/y-icon-close.png"  data-dismiss="modal" aria-label="Close" alt="">
            </a>
          </div>
        </div>
      </div>
      <!--center-->
      <div>
        <ul class="y-createTeam-CT clearfix">
          <li class="active fl"></li>
          <li class="fl" ng-class="{'active': inviteStep >= 2}"></li>
          <li class="fl" ng-class="{'active': inviteStep == 3}"></li>
        </ul>
        <ul class="y-createTeam-CB clearfix">
          <li class="active fl">1.基本信息</li><!--创建团队-->
          <li class="fl" ng-class="{'active': inviteStep >= 2}">2.邀请成员</li>
          <li class="fl" ng-class="{'active': inviteStep == 3}">3.完成创建</li>
        </ul>
      </div>
      <!--创建团队的基本信息-->
      <div>
        <div class="y-createTeam-info" ng-show="inviteStep == 1">
          <div class="y-createTeam-infoT">
            创建一个稳定的团队，邀请同事加入，一起高效协作吧！
          </div>
          <div class="y-createTeam-infoC">
            <input maxlength="50" type="text" placeholder="输入团队名称" class="y-createTeam-infoText" ng-model="create.name">
            <textarea maxlength="200"  placeholder="团队描述（可选）" class="y-createTeam-infoText2" ng-model="create.description"></textarea>
          </div>
          <div class="y-createTeam-Next clearfix">
            <div class="y-createTeam-NextL fr">
              <button ng-click="teamCreate()">下一步</button>
            </div>
            <!--<div class="y-createTeam-NextR fl">-->
              <!--<a href="javascript:;"   data-dismiss="modal" aria-label="Close" ng-click="successInvite()">取消</a>-->
            <!--</div>-->
          </div>
        </div>
      </div>

      <!--创建团队的邀请成员-->
      <form class="w5c-form" novalidate name="inviteForm" w5c-form-validate="w5cValidatorInviteProvider">
        <div class="y-invite" ng-show="inviteStep == 2">
          <div class="invite-addto clearfix">
            <div class="fl">添加成员：</div>
            <div class="fl invite-addto-input">
              <i></i>
              <input maxlength="50" type="text" name="" value="" placeholder="输入名字查找" ng-model="addMemList.userName" ng-change="searchMember()" ng-keyup="($event.which === 13)?searchMember():0" style="border-radius: 0; width:547px">
            </div>
          </div>
          <div class="invite-contact pt14">
            <ul class="clearfix">
              <li ng-repeat="item in chooseList" class="clearfix fl active" ng-click="cancelChoose(item,$index)">
                <!--<span>-->
                <img ng-src="{{item.iconUrl}}" alt="" style="width: 30px;height: 30px;border-radius: 20px">
                <!--</span>-->
                <span class="on" style="width: 36px;height: 36px;border-radius: 50%;text-align: center;line-height: 36px;float: none;color: #333;display: inline">{{item.userName}}</span>
                <i></i>
              </li>
              <li ng-repeat="item in searchList" class="clearfix fl" ng-click="chooseMember(item,$index)" ng-class="{'active':item.show}">
                <!--<span>-->
                <img ng-src="{{item.iconUrl}}" alt="" style="width: 30px;height: 30px;border-radius: 20px">
                <!--</span>-->
                <span class="on" style="width: 36px;height: 36px;border-radius: 50%;text-align: center;line-height: 36px;float: none;color: #333;display: inline">{{item.userName}}</span>
                <i></i>
              </li>
            </ul>
            <!--<div style="border-top:1px #ccc solid; padding:10px 0" ng-if="chooseName.length!=0">已选用户</div>-->
            <!--<ul class="clearfix" >-->
             <!---->
            <!--</ul>-->


          </div>
          <div class="invite-text" style="height:20px">
            <!--<span>未找到符合条件的联系人，你可以通过邮箱邀请同事</span>-->
          </div>
          <div class="invite-input mt12">
            <i></i>
            <input maxlength="200"  type="text" placeholder="通过邮箱邀请（可选）多个成员请用逗号隔开" ng-model="invite.inviterEmail" name="inviterEmail" ng-pattern="/^(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\,))*([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/">
          </div>
          <div class="y-createTeam-Next y-createTeam-NextM  clearfix">
            <div class="y-createTeam-NextL fr">
              <button ng-click="invitePerson()">下一步</button>
            </div>
            <div class="y-createTeam-NextR fl">
              <a href="javascript:;"  ng-click="teamSkip()" style="color:#ccc; padding-left:0">跳过此步</a>
            </div>
            <!--<div class="y-createTeam-NextR fl">-->
              <!--<a href="javascript:;"   data-dismiss="modal" aria-label="Close" ng-click="successInvite()">取消</a>-->
            <!--</div>-->
          </div>
          <!--点击跳过下一步-->
          <!--<div class="clearfix">-->
            <!--<div class="y-jumpTeam fl">-->
              <!--<button ng-click="teamSkip()" style="background: none; color: #337ab7;">跳过此步</button>-->
              <!--<a href="javascript:;" ng-click="teamSkip()">跳过此步</a>-->
            <!--</div>-->
          <!--</div>-->

          <!--<div class="clearfix">-->
            <!--<div class="y-jumpTeam-div2 fr">创建团队成功后，可以继续邀请朋友加入团队</div>-->
          <!--</div>-->

        </div>
      </form>
      <!--完成创建-->
      <div class="y-complete" ng-show="inviteStep == 3">
        <div class="complete-box">
          <div class="complete-box-head">
            请确认以下信息
          </div>
          <div class="complete-box-title">
            {{create.name}}
          </div>
          <div class="complete-box-list clearfix">
            <div class="list-join pl70 fl">
              <span>已邀请</span>
              <ul class="clearfix ml-40 pt8">
                <li ng-repeat="item in inviteResult.invited">
                    <img src="../../img/y-icon16.png" ng-src="{{item.iconUrl}}" alt="" title="{{item.email}}">
                </li>
              </ul>
            </div>
            <div class="list-join pl70 fl">
              <span>邀请中</span>
              <ul class="clearfix ml-40 pt8" ng-class="g-inviting">
                <li ng-repeat="item in inviteResult.inviting" title="{{item.email}}">{{item.email}}</li>
              </ul>
            </div>
          </div>
        </div>
        <!--点击下一步-->
        <div class="y-createTeam-Next clearfix">
          <div class="y-createTeam-NextL fr" style="margin-left: 20px">
            <button data-dismiss="modal" aria-label="Close" ng-click="successInvite()">完成</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div> <!--这个是创建团队的最外面-->

<!--提示弹框 start-->
<!--转让团队-->
<div class="modal fade" id="myModalPrompt" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="g-alertPrompt">
        <div class="g-alertPrompt-title clearfix">
          <h5>转让团队</h5>
          <a href="javascript:;">
            <img src="../../img/y-icon-close.png" data-dismiss="modal" aria-label="Close" alt="">
          </a>
        </div>
        <div class="g-alertPromptSelect">
          <select name="" id="" ng-model="teamLawList" ng-options="item as item.userName for item in lawList2">
            <option value="">请选择人员姓名</option>
          </select>
          <div>
            <button class="btn-bg" ng-click="teamAssign()">确定</button>
            <button aria-label="Close" data-dismiss="modal">取消</button>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>
<!--解散团队-->
<div class="modal fade" id="myModalDissolution" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="g-alertPrompt">
        <div class="g-alertPrompt-title clearfix">
          <h5>提示</h5>
          <a href="javascript:;">
            <img src="../../img/y-icon-close.png" data-dismiss="modal" aria-label="Close" alt="">
          </a>
        </div>
        <div class="g-alertPromptSelect">
          <p>{{teamMsg}}</p>
        </div>
      </div>
    </div>
  </div>
</div>
<!--确定是否删除-->
<div class="modal fade" id="myModalDelete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="g-alertPrompt">
        <div class="g-alertPrompt-title clearfix">
          <h5>提示</h5>
          <a href="javascript:;">
            <img src="../../img/y-icon-close.png" data-dismiss="modal" aria-label="Close" alt="">
          </a>
        </div>
        <div class="g-alertPromptSelect">

          <div class="g-alertPromptSelect">
            <p>{{teamMsg}}</p>
          </div>

          <div class="tc">
            <button class="btn-bg" id="ok_btn">确定</button>
            <button aria-label="Close" data-dismiss="modal" >取消</button>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>
<!--提示弹框 end-->

<!--<script src="bower_components/moment/min/moment.min.js"></script>
<script src="bower_components/fullcalendar/dist/fullcalendar.js"></script>-->
<!--<link rel="stylesheet" href="docs/assets/js/themes/sunburst.css"/>-->
<!--个人设置需要引用的js和日历无关-->
<!--<script src="framework/js/cropbox.js"></script>-->
<!--<script type="text/javascript"> ace.vars['base'] = '..'; </script>-->
<!--<script type="text/javascript">-->
    <!--if ('ontouchstart' in document.documentElement) document.write("<script src='components/_mod/jquery.mobile.custom/jquery.mobile.custom.js'>" + "<" + "/script>");-->
<!--</script>-->
<script>
  /*设置屏幕高度*/
//  (function () {
//    setHeight();
//    function setHeight() {
//      var height = $(window).height()+240 + 'px';
//      $(".y-content-box").css("height",height);
//    };
//    $(window).resize(function() {
//      setHeight();
//    });
//  }())
</script>

<script>
    $(window).ready(function () {

        /*======直接选择和添加切换=====*/
        $(".eplAddDivliUl li").on("click", function () {
            var i = $(this).index();
            $(this).addClass("active").siblings().removeClass("active");
            $(this).parent(".eplAddDivliUl").siblings(".eplAddDivDiv").find(".eplAddDivliIn").addClass("hide");
            $(this).parent(".eplAddDivliUl").siblings(".eplAddDivDiv").find(".eplAddDivliIn").eq(i).removeClass("hide");
        });

        /*=====添加律师成员=======*/
        $(".LawyerList li").on("click", function () {
            var i = $(this).index();
            $(this).addClass("active").siblings().removeClass("active");
            $(this).parent().siblings(".LawyerDiv").find(".Lawyerbox").addClass("hide");
            $(this).parent().siblings(".LawyerDiv").find(".Lawyerbox").eq(i).removeClass("hide");
        });
        $(".add-join-per-p").on("click", function () {
            $(".LawyerAddBody4").removeClass("hide");
        });
        $(".LawyerAddBody4 .Add-close").on("click", function () {
            $(".LawyerAddBody4").addClass("hide");
        });


      /*设置屏幕高度*/
     setHeight();
      function setHeight() {
        var height = $(window).height()-200 + 'px';

        var gTeamListHeight = $(window).height()-100 + 'px';
        var minHeight = $(window).height()-140 + 'px';
        var maxHeight = $(window).height()-60 + 'px';
//        $(".gTeamList").css("height",height);
        $(".y-content-box").css("height",minHeight);
        $(".y-team").css("height",maxHeight);
        $(".wrap").css("height",maxHeight);
        $(".y-content2-lawyer").css("height",height);
      };
      $(window).resize(function() {
        setHeight();
      });

    })
</script>
